Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix CI #25

Merged
merged 15 commits into from
Apr 17, 2024
Merged

fix CI #25

merged 15 commits into from
Apr 17, 2024

Conversation

guybedford
Copy link
Contributor

@guybedford guybedford commented Apr 15, 2024

This should fix the Wasmtime install, which I believe is due to the Rust toolchain lock to version 1.68.3. In addition adds Wizer and wasm-tools installs.

Signed-off-by: Guy Bedford <[email protected]>
Signed-off-by: Guy Bedford <[email protected]>
Signed-off-by: Guy Bedford <[email protected]>
Signed-off-by: Guy Bedford <[email protected]>
Signed-off-by: Guy Bedford <[email protected]>
@guybedford guybedford changed the title fix Wasmtime install fix pre-requisite installs Apr 15, 2024
Signed-off-by: Guy Bedford <[email protected]>
Signed-off-by: Guy Bedford <[email protected]>
Signed-off-by: Guy Bedford <[email protected]>
Signed-off-by: Guy Bedford <[email protected]>
@guybedford guybedford mentioned this pull request Apr 15, 2024
Merged
@tschneidereit
Copy link
Member

These tools are all installed by the cmake script as well, so it'd be great if we could use those versions instead of building them from source for every run.

Perhaps a good way to enable this would be to introduce a CMake target that prints a PATH with the relevant directories added, and then have CI use that to modify the PATH?

@guybedford
Copy link
Contributor Author

Okay done, it seems like GitHub actions doesn't like altering the PATH for some reason, so I've used explicit WIZER and WASM_TOOLS env vars in the componentize script.

@guybedford guybedford changed the title fix pre-requisite installs fix CI Apr 16, 2024
Copy link
Member

@tschneidereit tschneidereit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thank you!

Comment on lines 25 to 27
wasmtime: [19.0.2]
wizer: [5.0.0]
wasm-tools: [1.203.0]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change still needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks.

Signed-off-by: Guy Bedford <[email protected]>
@guybedford guybedford merged commit c6ffea7 into bytecodealliance:main Apr 17, 2024
1 check passed
@guybedford guybedford deleted the patch-1 branch April 17, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants